#### README.txt ####This folder contains all files necessary to replicate all figures and tables in the main text and online appendix of "Backscratching in Banks: Political Cycles in Bank Manager Appointments".Note: The R scripts follow the chronological order in which the analysis, plots, and figures appear in the manuscript.1. README.txt				This file2. 01_replication_manuscript.R	R code to carry out all analysis in the printed version of the manuscript3. 02_replication_appendix.R		R code to carry out all analysis in the online appendix of the manuscript4. cajas_dta.txt            		Tab-delimited file with data on Spanish savings banks (Cajas); dataset for main analysis5. commercial-banks_dta.txt       	Tab-delimited file with data on selected Spanish commercial banks; dataset for robustness analysis in appendix6. manuscript_replication.log     	Log file of main analysis '01_replication_manuscript.R'7. appendix_replication.log       	Log file of appendix analyses '02_replication_appendix.R'Session information used to implement the R analysis:R version 3.6.0 (2019-04-26)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS  10.15.5

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib

Random number generation:
 RNG:     Mersenne-Twister 
 Normal:  Inversion 
 Sample:  Rounding 
 
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] lfe_2.8-5         Matrix_1.2-17     simPH_1.3.10      dplyr_0.8.0.1     texreg_1.36.23    stargazer_5.2.2  
 [7] flexsurv_1.1.1    usethis_1.5.0     devtools_2.0.2    eha_2.6.0         survival_2.44-1.1

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.4         mvtnorm_1.0-10     lattice_0.20-38    tidyr_0.8.3        muhaz_1.2.6.1     
 [6] zoo_1.8-5          prettyunits_1.1.1  ps_1.3.2           assertthat_0.2.1   rprojroot_1.3-2   
[11] digest_0.6.25      plyr_1.8.4         R6_2.4.1           backports_1.1.4    ggplot2_3.3.0     
[16] pillar_1.4.3       rlang_0.4.5        lazyeval_0.2.2     rstudioapi_0.11    data.table_1.12.2 
[21] callr_3.4.3        labeling_0.3       desc_1.2.0         splines_3.6.0      stringr_1.4.0     
[26] munsell_0.5.0      compiler_3.6.0     pkgconfig_2.0.3    pkgbuild_1.0.6     mgcv_1.8-28       
[31] tidyselect_0.2.5   tibble_3.0.0       gridExtra_2.3      quadprog_1.5-7     fansi_0.4.1       
[36] crayon_1.3.4       withr_2.1.2        MASS_7.3-51.4      grid_3.6.0         xtable_1.8-4      
[41] nlme_3.1-139       gtable_0.3.0       lifecycle_0.2.0    magrittr_1.5       scales_1.1.0      
[46] stringi_1.4.3      cli_2.0.2          farver_2.0.3       reshape2_1.4.3     fs_1.3.1          
[51] remotes_2.1.1      testthat_2.3.2     ellipsis_0.3.0     vctrs_0.2.4        sandwich_2.5-1    
[56] Formula_1.2-3      deSolve_1.21       RColorBrewer_1.1-2 tools_3.6.0        glue_1.3.2        
[61] mstate_0.2.11      purrr_0.3.3        parallel_3.6.0     processx_3.4.2     pkgload_1.0.2     
[66] yaml_2.2.0         colorspace_1.4-1   sessioninfo_1.1.1  memoise_1.1.0 